package com.findmeastore.bo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * MasterZone entity. @author MyEclipse Persistence Tools
 */

public class MasterZone implements java.io.Serializable {

	// Fields

	private Integer id;
	private User userByCreatedBy;
	private MasterCity masterCity;
	private User userByLastModifiedBy;
	private Timestamp creationTstamp;
	private Timestamp lastModifiedTstamp;
	private String name;
	private Set masterLocalities = new HashSet(0);

	// Constructors

	/** default constructor */
	public MasterZone() {
	}

	/** minimal constructor */
	public MasterZone(User userByCreatedBy, MasterCity masterCity,
			User userByLastModifiedBy, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String name) {
		this.userByCreatedBy = userByCreatedBy;
		this.masterCity = masterCity;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.name = name;
	}

	/** full constructor */
	public MasterZone(User userByCreatedBy, MasterCity masterCity,
			User userByLastModifiedBy, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String name, Set masterLocalities) {
		this.userByCreatedBy = userByCreatedBy;
		this.masterCity = masterCity;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.name = name;
		this.masterLocalities = masterLocalities;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUserByCreatedBy() {
		return this.userByCreatedBy;
	}

	public void setUserByCreatedBy(User userByCreatedBy) {
		this.userByCreatedBy = userByCreatedBy;
	}

	public MasterCity getMasterCity() {
		return this.masterCity;
	}

	public void setMasterCity(MasterCity masterCity) {
		this.masterCity = masterCity;
	}

	public User getUserByLastModifiedBy() {
		return this.userByLastModifiedBy;
	}

	public void setUserByLastModifiedBy(User userByLastModifiedBy) {
		this.userByLastModifiedBy = userByLastModifiedBy;
	}

	public Timestamp getCreationTstamp() {
		return this.creationTstamp;
	}

	public void setCreationTstamp(Timestamp creationTstamp) {
		this.creationTstamp = creationTstamp;
	}

	public Timestamp getLastModifiedTstamp() {
		return this.lastModifiedTstamp;
	}

	public void setLastModifiedTstamp(Timestamp lastModifiedTstamp) {
		this.lastModifiedTstamp = lastModifiedTstamp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getMasterLocalities() {
		return this.masterLocalities;
	}

	public void setMasterLocalities(Set masterLocalities) {
		this.masterLocalities = masterLocalities;
	}

}